{template "content","header"}
<link rel="stylesheet" href="{CSS_PATH}/dgg/qfzx.css"/>
<link href="{CSS_PATH}default/css/common.css" rel="stylesheet" type="text/css" />
<div class="container">
    <!-- 顶部 -->
    <div class="qfzx-main bg-F2F6FF">
        <div class="terraceDynamic">
            <div class="breadcrumb"><a href="/">首页</a>/
                {dr_catpos($catid, '', true, '<a href="[url]">[name]</a> '.PHP_EOL.'/'.PHP_EOL)}
                <!-- <a href="" style="pointer-events: none">企服资讯</a>-->
            </div>
            <div class="terraceDynamic-box">
                <form method="get" action="{APP_PATH}index.php" target="_blank">
                    <div class="sp-search search-content">
                        <div class="sp-search-input sp-search-default">
                            <i class="el-icon-search"></i>
                            <input name="q" type="text" placeholder="搜索企服资讯内容，如工商服务" onkeyup="value=value.replace(/[^\w\u4E00-\u9FA5]/g, '')" maxlength="30"/>
                            <i class="el-icon-error" style="display: none"></i>
                        </div>
                        <input type="hidden" name="m" value="search"/>
                        <input type="hidden" name="c" value="index"/>
                        <input type="hidden" name="a" value="init"/>
                        <input type="hidden" name="typeid" value="0" id="typeid"/>
                        <input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
                        <button type="submit">搜索</button>
                    </div>
                </form>
                <div class="artcle-nav">
                    <div id="tab-nav" class="tabs">
                        <div class="tab-item {if $catid==6} tab-active {/if}">
                            <a href="{$CATEGORYS[6]['url']}">
                                企服知识
                            </a>
                        </div>
                        <div class="tab-item {if $catid==15} tab-active {/if}">
                            <a href="{$CATEGORYS[15]['url']}">
                            行业快讯
                            </a>
                        </div>
                        <div class="tab-item {if $catid==16} tab-active {/if}">
                            <a href="{$CATEGORYS[16]['url']}">
                            公司动态
                            </a>
                        </div>
                    </div>

                    <!-- 列表 -->
                    <div class="list list-child">
                        {pc:content action="lists" catid="$catid" order="id DESC" page="$page" num="10"}
                        {loop $data $r}
                        <a href="{$r[url]}" target="_self" class="list-box">
                            <div class="flex">
                                <img src="{thumb($r['thumb'],220,125)}" alt="{$r['title']}" title="{$r['title']}" />
                                <div class="content">
                                    <h2 class="title ellipsis">{$r[title]}</h2>
                                    <div class="info-desc">
                                        <p>{str_cut($r['description'],130)}...</p>
                                    </div>
                                    <div class="info-time">
                                        {$CATEGORYS[$catid]['catname']}
                                        <i class="iconfont-sp-micro-fe-element sp-icon-time-circle" style="font-size: 10px"></i>
                                        {date('Y-m-d',$r['inputtime'])}
                                    </div>
                                </div>
                            </div>
                            <div class="line"></div>
                        </a>
                        {/loop}
                        {/pc}
                    </div>
                    <div class="search-pagination">{$pages}</div>
                </div>
            </div>
        </div>
    </div>
    <!-- footer -->
    <!-- 右侧固定导航 -->
</div>
{template "content","footer"}
